package com.studyspace.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 文章分类表
 * </p>
 *
 * @author ljl
 * @since 2021-11-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ArticleCategory对象", description="文章分类表")
public class ArticleCategory implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "文章分类id")
    private Integer categoryId;

    @ApiModelProperty(value = "文章分类名称")
    private String categoryName;


}
